import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import 'amfe-flexible'
import './styles/index.less'
import './styles/icon.css'
// 引入过滤器
import * as filters from '@/filters'
// 全局注册所有过滤器
for (const key in filters) {
  Vue.filter(key, filters[key])
}

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
